package com.lenin.metro.shared;

import java.io.Serializable;

public class TileMetrics implements Serializable {

	public static enum MetricsConfig {
		
		
		S32W5H4(new TileMetrics(32, 5, 5, 15, 15));
		
		private TileMetrics metrics;
		
		MetricsConfig(TileMetrics metrics) {
			this.metrics = metrics;
		}
		
		public TileMetrics getTileMetrics() {
			return metrics;
		}
		
	}
	
	private int tileSize;
	
	private int groupWidth;
	private int groupHeight;
	
	private int areaWidth;
	private int areaHeight;
	
	
	public TileMetrics() {
	}

	public TileMetrics(int tileSize, int groupWidth, int groupHeight, int areaWidth, int areaHeight) {
		
		setTileSize(tileSize);
		setGroupWidth(groupWidth);
		setGroupHeight(groupHeight);
		setAreaWidth(areaWidth);
		setAreaHeight(areaHeight);
		
	}
	
	public int getTileSize() {
		return tileSize;
	}

	public void setTileSize(int tileSize) {
		this.tileSize = tileSize;
	}

	public int getGroupWidth() {
		return groupWidth;
	}

	public void setGroupWidth(int groupWidth) {
		this.groupWidth = groupWidth;
	}

	public int getGroupHeight() {
		return groupHeight;
	}

	public void setGroupHeight(int groupHeight) {
		this.groupHeight = groupHeight;
	}

	public int getAreaWidth() {
		return areaWidth;
	}

	public void setAreaWidth(int areaWidth) {
		this.areaWidth = areaWidth;
	}

	public int getAreaHeight() {
		return areaHeight;
	}

	public void setAreaHeight(int areaHeight) {
		this.areaHeight = areaHeight;
	}
	
	
	
	
}
